package com.ruoyi.environment.domain;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ruoyi.common.core.annotation.Excel;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 环保维护对象 opm_env_facility_record
 *
 * @author cjie
 * @date 2021-07-23
 */
@Data
@ApiModel
public class OpmEnvFacilityRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @ApiModelProperty(value = "序号")
    @JsonSerialize(using = com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    @JSONField(serializeUsing= ToStringSerializer.class)
    private Long id;

    /** 设备名称 */
    @Excel(name = "设备名称")
    @ApiModelProperty(value = "设备名称")
    private String name;

    /** 设备编号 */
    @Excel(name = "设备编号")
    @ApiModelProperty(value = "设备编号")
    private String buildNum;

    /** 维护人 */
    @Excel(name = "维护人")
    @ApiModelProperty(value = "维护人")
    private String maintainBy;

    /** 维护时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "维护时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "维护时间")
    private Date maintainTime;

    /** 维护类型 */
    @Excel(name = "维护类型")
    @ApiModelProperty(value = "维护类型")
    private String maintainType;

    /** 维护结果 */
    @Excel(name = "维护结果")
    @ApiModelProperty(value = "维护结果")
    private String result;


}
